/*
 *  $Id: BloodyTentcales.cs 1051 2010-05-18 22:10:41Z thenn.erannor $
 *    This file is a part of Ragima CCG.
 *    (C) 2008-2009 Ragima development group.
 *
 *    Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Air.Abilities {
    public class BloodyTentcales: AbilityCard {
        public BloodyTentcales(): base("001_a_a_bloody_tentcales") {
            Level = CompleteLevel.ReadyForTest;
            Element = ElementType.Air;
            AddManaCost(ElementType.Air, 1);
            AddCondition(new AffectCondition<BloodyTentcalesAffect>(GetNewPhrase("already"), false));
            TapCreatureAfterUse = false;
        }

        public override void DoAction(TargetArgs args) {
            args.Caster.AddAffect<BloodyTentcalesAffect>();
        }

        private class BloodyTentcalesAffect: SpellAffect<BloodyTentcales> {
            public BloodyTentcalesAffect() {
                Add(new Affects.Brutal());
                Add(new Affects.Parasite(1));
            }
        }
    }
}
